<#import "/freemarker/modeltype.ftl" as mt>
<div class="dataTables_title">
	<div class="dataTables_title_left">按钮注释</div>
	<div class="dataTables_title_right">
		<a class="btn btn-danger" href="#"><i class="icon-lock"></i> 屏蔽</a>
		<a class="btn btn-warning" href="#"><i class="icon-unlock"></i> 解除屏蔽</a>
		<a class="btn btn-success" href="#"><i class="icon-edit"></i> 编辑</a>
	</div>
</div>
<table class="table table-bordered animate2 fadeInUp">
	<thead>
		<tr>
			<th>教室名称</th>
			<th>地址</th>
			<th>创建人</th>
			<th>创建机构</th>
			<th>创建时间</th>
			<th style="width: 80px;text-align: center;">操作</th>
		</tr>
	</thead>
	<tbody>
		<#list pageBean.resultList as pb>
		<tr class="footable-even" style="display: table-row;">
			<td>${(pb.name)!''}</td>
			<td>${(pb.address)!''}</td>
			<td>${(pb.cun)!''}</td>
			<td>${(pb.on)!''}</td>
			<td>${(pb.ct)!''}</td>
			<td style="text-align: center;">
				<div id="tttttt" class="btn-group">
					<#if !pb.deleted>
					<a class="btn btn-xs btn-danger" onclick="javascript: shieldClassRoom('${pb.code}', '${pb.name}');" title="屏蔽"><i class="icon-lock"></i></a>
					<#else>
					<a class="btn btn-xs btn-info" onclick="javascript: unshieldClassRoom('${pb.code}', '${pb.name}');" title="解除屏蔽屏蔽"><i class="icon-unlock"></i></a>
					</#if>
					<a class="btn btn-xs btn-success" onclick="javascript:sys_load_handle('classRoom-edit_${pb.code}'); return false;" title="编辑"><i class="icon-edit"></i></a>
				</div>
			</td>
		</tr>
		</#list>
	</tbody>
</table>
<#import "/freemarker/pagination.ftl" as p>
<@p.pagination pageBean 'queryClassRoom' />